<?php
$cookie_name = $_GET["name"] ;
$cookie_value = $_GET["value"] ;
if($cookie_value<>"")
	setcookie($cookie_name, $cookie_value, time() + (60 * 60 * 24 * 365),'/');    

echo "Cookie ".$cookie_name." : ".$cookie_value;

?>